home *** CD-ROM | disk | FTP | other *** search
/ SGI Origin & Onyx2 Patches 1998 May / Origin and Onyx2 System Disk Patches May 1998.img / dist / patchSG0001765.idb / usr / include / dmedia / libksync.h.z / libksync.h
C/C++ Source or Header  |  1997-05-19  |  1KB  |  50 lines

  1.  
  2. /*****************************************************************************
  3. *
  4. *  Copyright 1996, Silicon Graphics, Inc.
  5. *  All Rights Reserved.
  6. *
  7. *  This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  8. *  the contents of this file may not be disclosed to third parties, copied or
  9. *  duplicated in any form, in whole or in part, without the prior written
  10. *  permission of Silicon Graphics, Inc.
  11. *
  12. *  RESTRICTED RIGHTS LEGEND:
  13. *  Use, duplication or disclosure by the Government is subject to restrictions
  14. *  as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  15. *  and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  16. *  successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  17. *  rights reserved under the Copyright Laws of the United States.
  18. *****************************************************************************/
  19.  
  20. #ifndef __LIBKSYNC_H__
  21. #define __LIBKSYNC_H__
  22.  
  23.  
  24. #include <sys/ksync.h> /* For kstat_t */
  25.  
  26. typedef struct ksync_user_s {
  27.     kstat_t status;
  28.     int     module_id;
  29. } ksync_user_t; 
  30.  
  31.  
  32. #ifdef __cplusplus
  33. extern "C" {
  34. #endif
  35.  
  36. int     ksyncstat( 
  37.         ksync_user_t    *buf, 
  38.         int             bufSz );        /* in bytes */
  39.  
  40.  
  41. int     ksyncset( char *kName, int module_id );
  42.  
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46.  
  47.  
  48. #endif /* __LIBKSYNC_H__ */
  49.